//
//  YHYRecommendModel.m
//  TripTogether
//
//  Created by 杨泓晔 on 15/12/28.
//  Copyright © 2015年 杨泓晔. All rights reserved.
//

#import "YHYRecommendModel.h"

@implementation YHYRecommendModel
#pragma mark - 推荐页Model
-(void)setValue:(id)value forKey:(NSString *)key{
    [super setValue:value forKey:key];//如果想要给个别的属性赋值,必须调用父类的这个方法,否则会赋不上值
    
    if ([key isEqualToString:@"id"]) {
        self.Id = [NSString stringWithFormat:@"%@", value];
    }
}
-(void)setValue:(id)value forUndefinedKey:(NSString *)key
{
    if ([key isEqualToString:@"next_start"])
    {
        self.next_start = [NSString stringWithFormat:@"%@",value];
    }
}

@end


